Optimal. Leaf size=82 \[ -\frac {41 (4-9 x) \sqrt {2+3 x^2}}{2450 (3+2 x)^2}-\frac {13 \left (2+3 x^2\right )^{3/2}}{105 (3+2 x)^3}-\frac {123 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {2+3 x^2}}\right )}{1225 \sqrt {35}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {821, 735, 739,
212} \begin {gather*} -\frac {13 \left (3 x^2+2\right )^{3/2}}{105 (2 x+3)^3}-\frac {41 (4-9 x) \sqrt {3 x^2+2}}{2450 (2 x+3)^2}-\frac {123 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )}{1225 \sqrt {35}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 735
Rule 739
Rule 821
Rubi steps
\begin {align*} \int \frac {(5-x) \sqrt {2+3 x^2}}{(3+2 x)^4} \, dx &=-\frac {13 \left (2+3 x^2\right )^{3/2}}{105 (3+2 x)^3}+\frac {41}{35} \int \frac {\sqrt {2+3 x^2}}{(3+2 x)^3} \, dx\\ &=-\frac {41 (4-9 x) \sqrt {2+3 x^2}}{2450 (3+2 x)^2}-\frac {13 \left (2+3 x^2\right )^{3/2}}{105 (3+2 x)^3}+\frac {123 \int \frac {1}{(3+2 x) \sqrt {2+3 x^2}} \, dx}{1225}\\ &=-\frac {41 (4-9 x) \sqrt {2+3 x^2}}{2450 (3+2 x)^2}-\frac {13 \left (2+3 x^2\right )^{3/2}}{105 (3+2 x)^3}-\frac {123 \text {Subst}\left (\int \frac {1}{35-x^2} \, dx,x,\frac {4-9 x}{\sqrt {2+3 x^2}}\right )}{1225}\\ &=-\frac {41 (4-9 x) \sqrt {2+3 x^2}}{2450 (3+2 x)^2}-\frac {13 \left (2+3 x^2\right )^{3/2}}{105 (3+2 x)^3}-\frac {123 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {2+3 x^2}}\right )}{1225 \sqrt {35}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.52, size = 78, normalized size = 0.95 \begin {gather*} -\frac {\sqrt {2+3 x^2} \left (3296-2337 x+516 x^2\right )}{7350 (3+2 x)^3}+\frac {246 \tanh ^{-1}\left (\frac {3 \sqrt {3}+2 \sqrt {3} x-2 \sqrt {2+3 x^2}}{\sqrt {35}}\right )}{1225 \sqrt {35}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.64, size = 128, normalized size = 1.56
method | result | size |
risch | \(-\frac {1548 x^{4}-7011 x^{3}+10920 x^{2}-4674 x +6592}{7350 \left (2 x +3\right )^{3} \sqrt {3 x^{2}+2}}-\frac {123 \sqrt {35}\, \arctanh \left (\frac {2 \left (4-9 x \right ) \sqrt {35}}{35 \sqrt {12 \left (x +\frac {3}{2}\right )^{2}-36 x -19}}\right )}{42875}\) | \(70\) |
trager | \(-\frac {\left (516 x^{2}-2337 x +3296\right ) \sqrt {3 x^{2}+2}}{7350 \left (2 x +3\right )^{3}}+\frac {123 \RootOf \left (\textit {\_Z}^{2}-35\right ) \ln \left (\frac {9 \RootOf \left (\textit {\_Z}^{2}-35\right ) x -4 \RootOf \left (\textit {\_Z}^{2}-35\right )+35 \sqrt {3 x^{2}+2}}{2 x +3}\right )}{42875}\) | \(76\) |
default | \(-\frac {41 \left (3 \left (x +\frac {3}{2}\right )^{2}-9 x -\frac {19}{4}\right )^{\frac {3}{2}}}{4900 \left (x +\frac {3}{2}\right )^{2}}-\frac {369 \left (3 \left (x +\frac {3}{2}\right )^{2}-9 x -\frac {19}{4}\right )^{\frac {3}{2}}}{85750 \left (x +\frac {3}{2}\right )}+\frac {123 \sqrt {12 \left (x +\frac {3}{2}\right )^{2}-36 x -19}}{42875}-\frac {123 \sqrt {35}\, \arctanh \left (\frac {2 \left (4-9 x \right ) \sqrt {35}}{35 \sqrt {12 \left (x +\frac {3}{2}\right )^{2}-36 x -19}}\right )}{42875}+\frac {1107 x \sqrt {3 \left (x +\frac {3}{2}\right )^{2}-9 x -\frac {19}{4}}}{85750}-\frac {13 \left (3 \left (x +\frac {3}{2}\right )^{2}-9 x -\frac {19}{4}\right )^{\frac {3}{2}}}{840 \left (x +\frac {3}{2}\right )^{3}}\) | \(128\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 115, normalized size = 1.40 \begin {gather*} \frac {123}{42875} \, \sqrt {35} \operatorname {arsinh}\left (\frac {3 \, \sqrt {6} x}{2 \, {\left | 2 \, x + 3 \right |}} - \frac {2 \, \sqrt {6}}{3 \, {\left | 2 \, x + 3 \right |}}\right ) + \frac {123}{4900} \, \sqrt {3 \, x^{2} + 2} - \frac {13 \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}}}{105 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac {41 \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}}}{1225 \, {\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac {369 \, \sqrt {3 \, x^{2} + 2}}{4900 \, {\left (2 \, x + 3\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.72, size = 104, normalized size = 1.27 \begin {gather*} \frac {369 \, \sqrt {35} {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )} \log \left (-\frac {\sqrt {35} \sqrt {3 \, x^{2} + 2} {\left (9 \, x - 4\right )} + 93 \, x^{2} - 36 \, x + 43}{4 \, x^{2} + 12 \, x + 9}\right ) - 35 \, {\left (516 \, x^{2} - 2337 \, x + 3296\right )} \sqrt {3 \, x^{2} + 2}}{257250 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \frac {5 \sqrt {3 x^{2} + 2}}{16 x^{4} + 96 x^{3} + 216 x^{2} + 216 x + 81}\right )\, dx - \int \frac {x \sqrt {3 x^{2} + 2}}{16 x^{4} + 96 x^{3} + 216 x^{2} + 216 x + 81}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 232 vs.
\(2 (67) = 134\).
time = 1.62, size = 232, normalized size = 2.83 \begin {gather*} \frac {123}{42875} \, \sqrt {35} \log \left (-\frac {{\left | -2 \, \sqrt {3} x - \sqrt {35} - 3 \, \sqrt {3} + 2 \, \sqrt {3 \, x^{2} + 2} \right |}}{2 \, \sqrt {3} x - \sqrt {35} + 3 \, \sqrt {3} - 2 \, \sqrt {3 \, x^{2} + 2}}\right ) - \frac {\sqrt {3} {\left (1553 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{5} + 30 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{4} + 3870 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{3} - 25740 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{2} - 20 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )} - 1376\right )}}{9800 \, {\left ({\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )}^{2} + 3 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2}\right )} - 2\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.81, size = 106, normalized size = 1.29 \begin {gather*} \frac {123\,\sqrt {35}\,\ln \left (x+\frac {3}{2}\right )}{42875}-\frac {123\,\sqrt {35}\,\ln \left (x-\frac {\sqrt {3}\,\sqrt {35}\,\sqrt {x^2+\frac {2}{3}}}{9}-\frac {4}{9}\right )}{42875}-\frac {43\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{4900\,\left (x+\frac {3}{2}\right )}+\frac {37\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{560\,\left (x^2+3\,x+\frac {9}{4}\right )}-\frac {13\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{96\,\left (x^3+\frac {9\,x^2}{2}+\frac {27\,x}{4}+\frac {27}{8}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________